package com.isfto.service;

import com.isfto.code.PageResult;
import com.isfto.entity.User;

public interface UserService {
    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    public User login(String username,String password);

    public Boolean adduser(User user);

    /**
     * 用户分页查询
     */
    public PageResult getUsers(int page,int pagesize);

    Boolean delById(Integer id);
}
